package org.ecpkn.PAGridSim.core.offlineOptimization;

public abstract class OfflineOptimizationAlgo {
	
	protected double workload_;

	/**
	 * Constructor
	 * @param workload
	 */
	public OfflineOptimizationAlgo(double workload) {
		workload_ = workload;
	}
	
	/**
	 * optimized method,should be override
	 * @return
	 * @throws Exception 
	 */
	public OptimizedResultEntry optimize() throws Exception {
		throw new Exception("Optimized method is not override");
	}

}
